﻿#parse("/layout/header.htm")

<div class="body_bg hidden">
    background:#ff6e59;background-size:cover;
</div>

<p>修改个人的广告</p>



<table>
    <tr>
        <td>广告1</td>

    </tr>
    <tr>
        <td>
            <img src="/AdImages/zituibao2.jpg" />
            <input type="button" value="更换广告图片" /></td>

    </tr>
    <tr>
        <td>
            <input type="text" name="jine" placeholder="连接地址" /></td>
    </tr>

    <tr>
        <td>广告1</td>

    </tr>
    <tr>
        <td>
            <img src="/AdImages/zituibao2.jpg" />
            <input type="button" value="更换广告图片" /></td>

    </tr>
    <tr>
        <td>
            <input type="text" name="jine" placeholder="连接地址" /></td>
    </tr>


    <tr>
        <td>广告1</td>

    </tr>
    <tr>
        <td>
            <img src="/AdImages/zituibao2.jpg" />
            <input type="button" value="更换广告图片" /></td>

    </tr>
    <tr>
        <td>
            <input type="text" name="jine" placeholder="连接地址" /></td>
    </tr>

</table>

<div style="margin: 20px auto; width: 90%;">
    <a href="a" class="common_button common_boxshadow col_fff">保存</a>
</div>


<div style="margin: 20px auto; width: 90%;">
    <a href="a" class="common_button common_boxshadow col_fff">返回</a>
</div>

#parse("/layout/footer.htm")

$!body

#if("$!arts"!="")
<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    热点文章 (即点即发布)
                </div>
                <!-- /.panel-heading -->
                <div class="panel-body" style="padding:0;padding-top:10px;">
                    <div class="dataTable_wrapper table-responsive lou_cleartableout">
                            <table class="table table-striped table-bordered table-hover table-condensed" id="dataTables-todayadrelease">
                                <thead>
                                    <tr>
                                        <th style="width:80%;">主题</th>
                                        <th style="width:20%;">浏览数</th>
                                    </tr>
                                </thead>
                                <tbody>
                                        #foreach($a in $arts)
                                        <tr class="gradeA">
                                            <td style="min-width: 100px; padding-left: 20px; ">
                                                    <a onclick="submit('$a.code')">$a.title</a>
                                            </td>
                                            <td style="min-width: 70px; text-align: center;">$a.readcount</td>
                                        </tr>
                                       #end
                                </tbody>
                            </table>
                        <form id="form" name="form" action="/Main/Article" method="post">
                            <input id="uid" name="uid" type="hidden" value="U100120011513000002" />
                        </form>
                    </div>
                </div>
                <!-- /.panel-body -->
            </div>
        </div>
    </div>
</div>
#end


<!-- Custom Theme JavaScript -->
<script src="/Content/js/ad.js"></script>

<!-- compiled JavaScript -->
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>


<script type="text/javascript">
    var dataForWeixin = {
        appId: '$!jssdk.appid',
        MsgImg: '',
        TLImg: '',
        url: '',
        title: '',
        desc: '',
        timestamp: '$!jssdk.timestamp',
        nonceStr: '$!jssdk.noncestr',
        signature: '$!jssdk.signature',
        jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo'],
        fakeid: "",
        callback: function () { }
    };
    !function ($) {
        wx.config({
            debug: false,
            appId: dataForWeixin.appId,
            timestamp: dataForWeixin.timestamp,
            nonceStr: dataForWeixin.nonceStr,
            signature: dataForWeixin.signature,
            jsApiList: dataForWeixin.jsApiList
        });
        wx.ready(function () {
            //在此输入各种API
            //分享到朋友圈
            
        });
        wx.error(function (res) {
        });
    }(jQuery);


</script>
